﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A5D RID: 2653
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LMAABNNONAB : IMessage<LMAABNNONAB>, IMessage, IEquatable<LMAABNNONAB>, IDeepCloneable<LMAABNNONAB>, IBufferMessage
	{
		// Token: 0x17002188 RID: 8584
		// (get) Token: 0x060076D6 RID: 30422 RVA: 0x0013D893 File Offset: 0x0013BA93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LMAABNNONAB> Parser
		{
			get
			{
				return LMAABNNONAB._parser;
			}
		}

		// Token: 0x17002189 RID: 8585
		// (get) Token: 0x060076D7 RID: 30423 RVA: 0x0013D89A File Offset: 0x0013BA9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LMAABNNONABReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700218A RID: 8586
		// (get) Token: 0x060076D8 RID: 30424 RVA: 0x0013D8AC File Offset: 0x0013BAAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LMAABNNONAB.Descriptor;
			}
		}

		// Token: 0x060076D9 RID: 30425 RVA: 0x0013D8B3 File Offset: 0x0013BAB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LMAABNNONAB()
		{
		}

		// Token: 0x060076DA RID: 30426 RVA: 0x0013D8BC File Offset: 0x0013BABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LMAABNNONAB(LMAABNNONAB other) : this()
		{
			this.type_ = other.type_;
			this.id_ = other.id_;
			this.spBar_ = ((other.spBar_ != null) ? other.spBar_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060076DB RID: 30427 RVA: 0x0013D914 File Offset: 0x0013BB14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LMAABNNONAB Clone()
		{
			return new LMAABNNONAB(this);
		}

		// Token: 0x1700218B RID: 8587
		// (get) Token: 0x060076DC RID: 30428 RVA: 0x0013D91C File Offset: 0x0013BB1C
		// (set) Token: 0x060076DD RID: 30429 RVA: 0x0013D924 File Offset: 0x0013BB24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherdivideSpiritLineupType Type
		{
			get
			{
				return this.type_;
			}
			set
			{
				this.type_ = value;
			}
		}

		// Token: 0x1700218C RID: 8588
		// (get) Token: 0x060076DE RID: 30430 RVA: 0x0013D92D File Offset: 0x0013BB2D
		// (set) Token: 0x060076DF RID: 30431 RVA: 0x0013D935 File Offset: 0x0013BB35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x1700218D RID: 8589
		// (get) Token: 0x060076E0 RID: 30432 RVA: 0x0013D93E File Offset: 0x0013BB3E
		// (set) Token: 0x060076E1 RID: 30433 RVA: 0x0013D946 File Offset: 0x0013BB46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpBarInfo SpBar
		{
			get
			{
				return this.spBar_;
			}
			set
			{
				this.spBar_ = value;
			}
		}

		// Token: 0x060076E2 RID: 30434 RVA: 0x0013D94F File Offset: 0x0013BB4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LMAABNNONAB);
		}

		// Token: 0x060076E3 RID: 30435 RVA: 0x0013D960 File Offset: 0x0013BB60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LMAABNNONAB other)
		{
			return other != null && (other == this || (this.Type == other.Type && this.Id == other.Id && object.Equals(this.SpBar, other.SpBar) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060076E4 RID: 30436 RVA: 0x0013D9C0 File Offset: 0x0013BBC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Type != AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone)
			{
				num ^= this.Type.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this.spBar_ != null)
			{
				num ^= this.SpBar.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060076E5 RID: 30437 RVA: 0x0013DA34 File Offset: 0x0013BC34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060076E6 RID: 30438 RVA: 0x0013DA3C File Offset: 0x0013BC3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060076E7 RID: 30439 RVA: 0x0013DA48 File Offset: 0x0013BC48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Type != AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone)
			{
				output.WriteRawTag(8);
				output.WriteEnum((int)this.Type);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Id);
			}
			if (this.spBar_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.SpBar);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060076E8 RID: 30440 RVA: 0x0013DABC File Offset: 0x0013BCBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Type != AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Type);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this.spBar_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.SpBar);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060076E9 RID: 30441 RVA: 0x0013DB2C File Offset: 0x0013BD2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LMAABNNONAB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Type != AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone)
			{
				this.Type = other.Type;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			if (other.spBar_ != null)
			{
				if (this.spBar_ == null)
				{
					this.SpBar = new SpBarInfo();
				}
				this.SpBar.MergeFrom(other.SpBar);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060076EA RID: 30442 RVA: 0x0013DBA8 File Offset: 0x0013BDA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060076EB RID: 30443 RVA: 0x0013DBB4 File Offset: 0x0013BDB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 16U)
					{
						if (num != 26U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.spBar_ == null)
							{
								this.SpBar = new SpBarInfo();
							}
							input.ReadMessage(this.SpBar);
						}
					}
					else
					{
						this.Id = input.ReadUInt32();
					}
				}
				else
				{
					this.Type = (AetherdivideSpiritLineupType)input.ReadEnum();
				}
			}
		}

		// Token: 0x04002D6D RID: 11629
		private static readonly MessageParser<LMAABNNONAB> _parser = new MessageParser<LMAABNNONAB>(() => new LMAABNNONAB());

		// Token: 0x04002D6E RID: 11630
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002D6F RID: 11631
		public const int TypeFieldNumber = 1;

		// Token: 0x04002D70 RID: 11632
		private AetherdivideSpiritLineupType type_;

		// Token: 0x04002D71 RID: 11633
		public const int IdFieldNumber = 2;

		// Token: 0x04002D72 RID: 11634
		private uint id_;

		// Token: 0x04002D73 RID: 11635
		public const int SpBarFieldNumber = 3;

		// Token: 0x04002D74 RID: 11636
		private SpBarInfo spBar_;
	}
}
